package com.brillilab.service.core.experiments;

import com.brillilab.domain.po.experiments.PlateGrid;

import java.util.List;

/**
 * 多孔板Grid
 * @author WuMenghao
 * @time   2019/04/18
 */
public interface IPlateGridService {
    boolean insertBatch(List<PlateGrid> plateGrids);

    boolean deleteByPlateId(Long plateId);

    List<PlateGrid> selectList(Long plateId);

    PlateGrid selectById(Long gridId);

    boolean updateById(PlateGrid plateGrid);

    List<PlateGrid> selectUsedGridList(Long plateId);

    List<PlateGrid> selectList(List<Long> gridIds);

    int updateBatch(List<PlateGrid> update);

    boolean setIsUsed(List<Long> gridIds,Integer isUsed);
}
